nameList = ["jack", "lucky", "tom", "cures"]

for name in nameList:
    print(name, end=" ")
    
nameList.append("罗泽厚")
print()

print(nameList)

nameList.pop(4)

print(nameList)

nameList.remove("cures")

nameList[0] = "saiwen"
print(nameList)